package cn.bugstack.domain.rebate.service;

import cn.bugstack.domain.rebate.model.entity.BehaviorEntity;
import cn.bugstack.domain.rebate.model.entity.BehaviorRebateOrderEntity;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.util.List;

/**
 * 行为返利服务接口
 * @author 19872
 */
public interface IBehaviorRebateService {
    /**
     * 创建订单对象
     * @param behaviorEntity 行为对象
     * @return 返回订单ID集合
     */
    public List<String> createOrder(BehaviorEntity behaviorEntity);

    /**
     * 通过外部业务ID查询订单
     * @param userId 用户ID
     * @param outBusinessNo 业务ID
     * @return 行为返利订单实体列表
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
